projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fd0148
)
[HVM] ROMBIOS: reboot when we see Ctrl+Alt+Del
author
Tim Deegan
<Tim.Deegan@xensource.com>
Fri, 6 Jul 2007 10:17:01 +0000
(11:17 +0100)
committer
Tim Deegan
<Tim.Deegan@xensource.com>
Fri, 6 Jul 2007 10:17:01 +0000
(11:17 +0100)
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
tools/firmware/rombios/rombios.c
patch
|
blob
|
history
diff --git
a/tools/firmware/rombios/rombios.c
b/tools/firmware/rombios/rombios.c
index c0ce1f99817a152d1e7c57606da7909b83ec6f0d..49f5afdb0895e4e1d646b55774ae160f6ac10c4a 100644
(file)
--- a/
tools/firmware/rombios/rombios.c
+++ b/
tools/firmware/rombios/rombios.c
@@
-4675,6
+4675,10
@@
int09_function(DI, SI, BP, SP, BX, DX, CX, AX)
write_byte(0x0040, 0x18, mf2_flags);
break;
+ case 0x53: /* Del */
+ if ((shift_flags & 0x0c) == 0x0c) /* Ctrl + Alt */
+ machine_reset();
+ /* Fall through */
default:
if (scancode & 0x80) return; /* toss key releases ... */
if (scancode > MAX_SCAN_CODE) {